import http from '../common/axios.js'

//获取此用户已经报名过的信息
function get_user_registration_info(data) {
	let url = '/font/getUserRegistrationInfo'
	return http.get(url,data).then(res => {
		return res;
	})
}

//获取赛道信息
function get_registration_racetrack() {
	let url = '/font/getRegistrationRacetrack'
	return http.get(url).then(res => {
		return res;
	})
}

//上传表单信息
function submit_registration_form(data){
	let url = '/font/submitRegistrationForm'
	return http.get(url,data).then(res => {
		return res;
	})
}

export default {
	get_user_registration_info,
	get_registration_racetrack,
	submit_registration_form
}
